<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SetEntityMaterial</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SetEntityMaterial()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SetEntityMaterial</b></font>(#Entity, MaterialID)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>





Assign a material to the specified #Entity. An entity can only have one material assigned at once. 
<br>
<br>
'MaterialID' can be easily retrieved with the <a href="../material/materialid.html">MaterialID()</a> function. 

 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=setentitycollisionfilter.html>SetEntityCollisionFilter()</a> - <a href=index.html>Entity Index</a>


</body></html>